package com.heima.wemedia.mapper;

import com.heima.model.wemedia.pojos.WmNewsMaterial;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author Fu319
* @description 针对表【wm_news_material(自媒体图文引用素材信息表)】的数据库操作Mapper
* @createDate 2025-04-02 17:11:46
* @Entity com.heima.model.wemedia.pojos.WmNewsMaterial
*/
public interface WmNewsMaterialMapper extends BaseMapper<WmNewsMaterial> {

    void insertBatch(@Param("newsId") Integer newsId,@Param("materialIds") List<Integer> materialIds,@Param("type") Short type);
}




